package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 可维护字典信息
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dictionary")
@ApiModel(value="Dictionary对象", description="可维护字典信息")
public class DictionaryDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "可维护字典名")
    private String name;

    @ApiModelProperty(value = "字典code")
    private String code;

    @ApiModelProperty(value = "父级code")
    private String parentCode;

    @ApiModelProperty(value = "排序")
    private Integer rank;

    @ApiModelProperty(value = "状态（1-启用 0-禁用）")
    private Integer status;


}
